<div class="sidenav">
    {:hook('user_sidenav_before')}
    <ul class="list-group">
        <li class="list-group-heading">{:__('Member center')}</li>
        <li class="list-group-item {:$config['actionname']=='index'?'active':''}"> <a href="{:url('user/index')}"><i class="fa fa-user-circle fa-fw"></i> {:__('User center')}</a> </li>
        <li class="list-group-item {:$config['actionname']=='profile'?'active':''}"> <a href="{:url('user/profile')}"><i class="fa fa-user-o fa-fw"></i> {:__('Profile')}</a> </li>

        <li class="list-group-item {:$config['actionname']=='newtie'?'active':''}"> <a href="{:url('user/newtie')}"><i class="fa fa-chrome fa-fw"></i> 发新主题</a> </li>

        <li class="list-group-item {:$config['actionname']=='mytie'?'active':''}"> <a href="{:url('user/mytie')}"><i class="fa fa-bandcamp fa-fw"></i> 我的主题</a> </li>

        <li class="list-group-item {:$config['actionname']=='mycomments'?'active':''}"> <a href="{:url('user/mycomments')}"><i class="fa fa-futbol-o fa-fw"></i> 我的评论</a> </li>


        <li class="list-group-item {:$config['actionname']=='changepwd'?'active':''}"> <a href="{:url('user/changepwd')}"><i class="fa fa-key fa-fw"></i> {:__('Change password')}</a> </li>
        <li class="list-group-item {:$config['actionname']=='logout'?'active':''}"> <a href="{:url('user/logout')}"><i class="fa fa-sign-out fa-fw"></i> {:__('Sign out')}</a> </li>
    </ul>
    {:hook('user_sidenav_after')}
</div>